<div class="container">
    <div class="clearfix">
        <span class=""><?php echo $this->translate('Recommend tags');?></span>
        <hr>
        <?php if(is_array($this->recommendTags)):?>
        <?php foreach ($this->recommendTags as $key=>$tag):?>
        <?php if($key%2):?>
        <div class="span-12 last">
        <?php else:?>
        <div class="span-12 border">
        <?php endif;?>
            <p><a href="<?php echo $tag->url;?>"><?php echo $tag->name;?></a></p>
            <hr>
        </div>
        <?php endforeach;?>
        <?php endif;?>
    </div>
        
    <div class="clearfix prepend-top">
        <span class="column"><?php echo $this->translate('Friend links');?></span>
        <span class="right"><a href="<?php echo $this->url(array('module'=>'default', 'controller'=>'about', 'action'=>'friend-links'), "default", true) ?>"><?php echo $this->translate('More');?>...</a></span>
        <hr>
        <?php if(is_array($this->links)):?>
        <?php foreach ($this->links as $key=>$link):?>
        <span class="column"><a href="<?php echo $link['siteLink'];?>" target="_blank"><?php echo $link['siteName'];?></a></span>
        <?php endforeach;?>
        <?php endif;?>
    </div>
</div>